package com.fs.service.bo.user;

import com.fs.entity.User;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class BoUserInfoWithRole extends BoUserInfo {

    public BoUserInfoWithRole(User user) {
        super(user);
    }

    private List<BoRoleInfo> roles = new ArrayList<>();

}
